package com.lx.spring.biz;

import com.lx.spring.mapper.UserMapper;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

@Data
@Service
public class UserBiz {
    @Autowired
            //限定词注解 => 指定注入bean的id
            @Qualifier("myUserMapper")
    UserMapper userMapper;
}
